package com.bootdo.coach.key;

public class RedisKey {
	/**
     * token有效期（分钟）
     */
	public static final int TOKEN_EXPIRES_MINUTE = 60 * 12;
	
	public static final String COACH_KEY = "coach";
	
	public static final String AGENT_KEY = "agent";
	
	public static final String STUDENT_KEY = "student";
	
	public static final String DEVICE_KEY = "device";
	
	public static String getCoachRedisKey(Long coachId) {
		return COACH_KEY + String.valueOf(coachId);
	}
}
